package com.unisedu.hr.basic;

import com.github.pagehelper.PageInfo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface IBaseDao {

    IBaseEntity get(@Param(value = "id") Integer id);

    List<IBaseEntity> findList(IBaseEntity entity);

    void insert(IBaseEntity entity);

    IBaseEntity update(IBaseEntity entity);

    Integer delete(Integer id);
}
